#!/bin/bash
BASEDIR=$(dirname "$0")
cd $BASEDIR/..

export XMAKE_GLOBALDIR=$(pwd)

xmake g --network=private
xmake f -p linux \
    --APP_STATIC_LIB=y \
    --ENABLE_PYTHON=y \
    -m releasedbg \
    -v \
    -y
xmake project -k compile_commands
xmake -vD -w
xmake install -o install